﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class Programmer: Staff, IWriter
    {
        private string name;
        public Programmer(string name):base(name) {
            this.name = name;
        }

        public void writer()
        {
            Console.WriteLine("我是{0},我是作家",this.name);
        }
    }
}
